package com.kgc.scd.service;

/**
 * Created On : 2022/11/17 0017.
 * <p>
 * Author : shiguangchuan
 * <p>
 * Description: 到货提醒业务接口
 */
public interface SendMessageService {
    
    /**
     * @author : shiguangchuan
     * @date   : 2022/11/17 0017
     * @param  : [phoneNum, goodsId]
     * @return : boolean
     * @description : 记录 
     */
    boolean needSendMessageGoods(String phoneNum,String goodsId);
    
    /**
     * @author : shiguangchuan
     * @date   : 2022/11/17 0017
     * @param  : [goodsId, goodsNumber]
     * @return : void
     * @description : 加仓后对需要接收短信提醒的用户发送短信通知 
     */
    void addGoodsStockToSendMessage(String goodsId,Integer goodsNumber);
    
}
